home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00a.txt
/
000127_icon-group-sender _Mon May 29 11:57:32 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id LAA02046
for icon-group-addresses; Mon, 29 May 2000 11:57:10 -0700 (MST)
Message-Id: <200005291857.LAA02046@baskerville.CS.Arizona.EDU>
From: gep2@terabites.com
Date: Mon, 29 May 2000 11:39:43 -0500
Subject: Lists: sort on more than one field?
To: icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
> I am currently working on a small databaseof library data. Data
is the output of a database program and is in comma-delimited
format, therefore easily accesible as lists or records. I would
like to sort data not only by one field (I use sortf for that)
but one more than one field: i.e. sort on field_1 and osrt all
data with the same value for field_1 by field_4, for example. Is
it possible? I did not find anything in the Icon library for
that. May I ask for advice?
The answer is so simple as to be trivial.... simply build an additional (single)
field (perhaps temporarily) which contains all the fields you wish to sort on,
in the order of precedence (most important first). :-)
Gordon Peterson
http://web2.airmail.net/gep2/
Support the Anti-SPAM Amendment! Join at http://www.cauce.org/
12/19/98: the day the Conservatives demonstrated their scorn for their
fraudulent sham of representative government. Voters, remember it!